<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    body {
      transform-style: preserve-3d;
    }

    body>div {
      width: 200px;
      height: 200px;
      z-index: 1
    }

    body>div:nth-child(1) {
      position: absolute;
      top: 20px;
      left: 0px;
      background: radial-gradient(circle at 50% 50%, transparent 0%, transparent 60%, red 61%, red 70%, transparent 71%, transparent 100%);
      
    }

    body>div:nth-child(2) {
      position: absolute;
      top: 20px;
      left: 240px;
      background: linear;
      transform: rotateX(-3deg) rotateY(1deg);
      transform-origin: center 60%;
    }

    body>div:nth-child(3) {
      position: absolute;
      top: 20px;
      left: 480px;
      background: radial-gradient(circle at 50% 50%, transparent 0%, transparent 60%, green 61%, green 70%, transparent 71%, transparent 100%);
      transform: rotateX(-2deg);
      transform-origin: center 80%;
    }

    body>div:nth-child(4) {
      position: absolute;
      top: 100px;
      left: 120px;
      background: radial-gradient(circle at 50% 50%, transparent 0%, transparent 60%, yellow 61%, yellow 70%, transparent 71%, transparent 100%);
      transform: rotateX(-2deg) rotateY(-1deg);
      transform-origin: center 20%;
    }

    body>div:nth-child(5) {
      position: absolute;
      top: 100px;
      left: 360px;
      background: radial-gradient(circle at 50% 50%, transparent 0%, transparent 60%, black 61%, black 70%, transparent 71%, transparent 100%);
      transform: rotateX(1deg) rotateY(-2deg);
      transform-origin: center 20%;
    }
  </style>
</head>

<body>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
</body>

</html>